const set=(key,val)=>{
    sessionStorage.setItem(key,JSON.stringify(val))
}

const get=key=>JSON.parse(sessionStorage.getItem(key))

const remove=key=>{
    sessionStorage.removeItem(key)
}

export default{
    get,
    set,
    remove
}